package cn.bluedot.bean;

import java.util.HashMap;
import java.util.Map;


/** 
* @author 作者 zg
* @version 创建时间：2018年11月27日 下午5:03:21 
*/
public class BaseBody {
	private int code;
	private String msg;
	
	protected BaseBody(int code, String msg) {
	    this.code = code;
	    this.msg = msg;
	}
	
	public static final BaseBody SUCCESS = new BaseBody(200, "处理成功!");
	public static final BaseBody FAIL = new BaseBody(500, "处理失败!");
	
	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
